package com.xjgc.msibase.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xjgc.msibase.entity.MsiExoServer;
import com.xjgc.msibase.entity.MsiExoTask;
import com.xjgc.msibase.entity.MsiExoTaskServer;
import com.xjgc.msibase.mapper.MsiExoTaskServerMapper;
import com.xjgc.msibase.service.IMsiExoTaskServerService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 外围服务接口
 *
 * @Description: 外围服务接口
 * @Author: 小逗号
 * @Date: 2023-10-30
 * @Version: V1.0
 */
@Slf4j
@Service
public class MsiExoTaskServerServiceImpl extends ServiceImpl<MsiExoTaskServerMapper, MsiExoTaskServer>
        implements IMsiExoTaskServerService {
    @Override
    public List<MsiExoTask> queryByServerId(String exoServerId) {
        return baseMapper.selectByServerId(exoServerId);
    }

    @Override
    public List<MsiExoServer> queryByTaskId(String exoTaskId) {
        return baseMapper.selectByTaskId(exoTaskId);
    }
}
